﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B59 RID: 2905
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MOBLEOMKCCG : IMessage<MOBLEOMKCCG>, IMessage, IEquatable<MOBLEOMKCCG>, IDeepCloneable<MOBLEOMKCCG>, IBufferMessage
	{
		// Token: 0x170024AC RID: 9388
		// (get) Token: 0x060081E7 RID: 33255 RVA: 0x0015AB94 File Offset: 0x00158D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MOBLEOMKCCG> Parser
		{
			get
			{
				return MOBLEOMKCCG._parser;
			}
		}

		// Token: 0x170024AD RID: 9389
		// (get) Token: 0x060081E8 RID: 33256 RVA: 0x0015AB9B File Offset: 0x00158D9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MOBLEOMKCCGReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170024AE RID: 9390
		// (get) Token: 0x060081E9 RID: 33257 RVA: 0x0015ABAD File Offset: 0x00158DAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MOBLEOMKCCG.Descriptor;
			}
		}

		// Token: 0x060081EA RID: 33258 RVA: 0x0015ABB4 File Offset: 0x00158DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MOBLEOMKCCG()
		{
		}

		// Token: 0x060081EB RID: 33259 RVA: 0x0015ABBC File Offset: 0x00158DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MOBLEOMKCCG(MOBLEOMKCCG other) : this()
		{
			this.iIBNIHOLPHP_ = other.iIBNIHOLPHP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060081EC RID: 33260 RVA: 0x0015ABE1 File Offset: 0x00158DE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MOBLEOMKCCG Clone()
		{
			return new MOBLEOMKCCG(this);
		}

		// Token: 0x170024AF RID: 9391
		// (get) Token: 0x060081ED RID: 33261 RVA: 0x0015ABE9 File Offset: 0x00158DE9
		// (set) Token: 0x060081EE RID: 33262 RVA: 0x0015ABF1 File Offset: 0x00158DF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IIBNIHOLPHP
		{
			get
			{
				return this.iIBNIHOLPHP_;
			}
			set
			{
				this.iIBNIHOLPHP_ = value;
			}
		}

		// Token: 0x060081EF RID: 33263 RVA: 0x0015ABFA File Offset: 0x00158DFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MOBLEOMKCCG);
		}

		// Token: 0x060081F0 RID: 33264 RVA: 0x0015AC08 File Offset: 0x00158E08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MOBLEOMKCCG other)
		{
			return other != null && (other == this || (this.IIBNIHOLPHP == other.IIBNIHOLPHP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060081F1 RID: 33265 RVA: 0x0015AC38 File Offset: 0x00158E38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IIBNIHOLPHP != 0U)
			{
				num ^= this.IIBNIHOLPHP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060081F2 RID: 33266 RVA: 0x0015AC77 File Offset: 0x00158E77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060081F3 RID: 33267 RVA: 0x0015AC7F File Offset: 0x00158E7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060081F4 RID: 33268 RVA: 0x0015AC88 File Offset: 0x00158E88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IIBNIHOLPHP != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.IIBNIHOLPHP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060081F5 RID: 33269 RVA: 0x0015ACBC File Offset: 0x00158EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IIBNIHOLPHP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IIBNIHOLPHP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060081F6 RID: 33270 RVA: 0x0015ACFA File Offset: 0x00158EFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MOBLEOMKCCG other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IIBNIHOLPHP != 0U)
			{
				this.IIBNIHOLPHP = other.IIBNIHOLPHP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060081F7 RID: 33271 RVA: 0x0015AD2B File Offset: 0x00158F2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060081F8 RID: 33272 RVA: 0x0015AD34 File Offset: 0x00158F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.IIBNIHOLPHP = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040031D2 RID: 12754
		private static readonly MessageParser<MOBLEOMKCCG> _parser = new MessageParser<MOBLEOMKCCG>(() => new MOBLEOMKCCG());

		// Token: 0x040031D3 RID: 12755
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031D4 RID: 12756
		public const int IIBNIHOLPHPFieldNumber = 15;

		// Token: 0x040031D5 RID: 12757
		private uint iIBNIHOLPHP_;
	}
}
